home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Herois
/
Codigo.Cst
/
00004_Script_FrameAbertura
< prev
next >
Wrap
Text File
|
1999-03-19
|
946b
|
44 lines
on exitFrame
global mantra
if not mantra and the timer > 180 then
set the volume of sound 2 to 255
puppetSound 2, "Mantra2"
sound fadeIn 2,30
set mantra = true
updateStage
end if
go the frame
end
on getBehaivorDescription
return "Pause na saida do frame, chamando #idleSprite para todos sprites durante #idle"
end
on idle
global gMustUpdate
set gMustUpdate to false
sendAllSprites(#idleSprite)
if gMustUpdate then updateStage
end
on mouseUp
global mantra
if not mantra then
set the volume of sound 2 to 255
puppetSound 2, "Mantra2"
set mantra = true
end if
puppetSound 1,0
updateStage
set the volume of sound 1 to 255
updateStage
sendAllSprites #cleanSprite
go frame "Creditos"
unloadMember member "VideoAbertura"
unloadMember member "MascaraNoisePrim1", member "MascaraNoiseUlt6"
unloadMember member "Mantra1"
end